<?php
/**
 * Name: AdminLogController.class.php
 * Description:
 * User: DIY
 * Date: 2016/9/22
 * Time: 17:27
 */

namespace Admin\Controller;



use Common\Logic\AdminLogLogic;

class AdminLogController extends BaseController{
    /*
     * 系统操作日志列表
     * */
    public function index(){
        $AdminLogLogic = new AdminLogLogic();
        $list = $AdminLogLogic->getAdminLogList(I('get.'));
        $this->assign('list',$list);
        $this->display();
    }

    public function show($id){
        $AdminLogLogic = new AdminLogLogic();
        $log = $AdminLogLogic->getAdminLogOne($id);
        $this->assign('log',$log);
        $this->display();
    }

}